make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Wed, 2 Nov 2022 18:43:41 +0000 (18:43 +0000)
committerAurelien Jarno <aurel32@debian.org>
Wed, 2 Nov 2022 18:43:41 +0000 (18:43 +0000)
commit29b0757b7b108c6c048b779aacb730e5d6523a2c
tree575784d141eae984b7fc2a87ba8cc9e5b1b145ca
parentb44b136084a1995742197f48e4cf7c2a97578efd
make ldconfig use the built-in system paths

Bug-Ubuntu: https://bugs.launchpad.net/bugs/736932

Make ldconfig use the same view of built-in system paths that ld.so does,
instead of just using SLIBDIR and LIBDIR; this corrects a failure of
ldconfig to cache libraries in non-multiarch directories when building for
multiarch, even though they're on the system path.

Gbp-Pq: Topic any
Gbp-Pq: Name local-ldconfig-multiarch.diff
elf/ldconfig.c